package com.xzy.service;

import com.xzy.pojo.VoteUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface VoteUserService {
    public VoteUser selectVoteUserByName(String username);
    public int insertVoteUser(String username, String password);
    public List<VoteUser> selectVoteUserPage(int begin, int size);
    public int updateVoteTopicId(Map<String,Object> map);
    public int updateVoteByUsernameYes(String username);
    public int updateVoteByUsernameNo(String username);
}
